package org.example.factory.static_factory;

/**
 * @Author KEKE
 * @Date 2024/7/1 9:56
 * @Description 测试类
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        //创建咖啡店类对象
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee  = coffeeStore.orderCoffee("american");
        System.out.println(coffee.getName());
    }
}
